package com.cocotingo.snail;

abstract public class Event<T extends java.awt.event.InputEvent> {
	
	private final T AWTEvent;
	boolean handled;
	
	public Event(T AWTEvent) {
		this.AWTEvent = AWTEvent;
		handled = false;
	}
	
	public void handle() {
		handled = true;
	}
	
	public T getAWTEvent() {
		return AWTEvent;
	}
	
}
